|
|
Setting up a graph |
|
|
what is the graph for § setting up a simple graph § graphing more advanced properties |
What is the graph for?The graph part can be used to measure how properties in a model vary. Most parts have graphable properties, and the graph is a useful way of communicating information about these properties visually.
For example, plotting a graph of the temperature of the contents of a beaker against time.
|
Setting up a simple graphThe steps below outline how to create a graph.
1. Choosing a part to graphBefore you can draw a graph you must first choose which part (or parts) you are interested in measuring the properties of. Any part with graphable properties can be graphed.
To target a particular part, for example a beaker:
2. Setting the y-axis valueThe property measured on the y-axis is set using the property picker that appears just above it. Click on the underlined word Property... and chose the property to be measured from the list that appears.
In the example above an association to the beaker has been made, so the list will include all the graphable properties of the beaker part e.g. temperature, pH and volume.
3. Setting the x-axisBy default the x-axis is set to measure simulation time (a 'Global' property since it a property of the scenes).
However, there are three property categories that can be represented by the x-axis:
Click on the arrow next to the property picker to choose the property category:
A global property is one that does not relate to any part in the scene, but belongs to the scene itself. If this option is chosen, all the global scene properties will be listed in the property picker. Time is currently the only global property.
A local part property is one that belongs to each part being graphed.
Graphing against a local part property will result in each part targeted for a trace being graphed against its own value of the property. For example, if two traces have been set up to graph beaker A and beaker B, the y-axis has been set to measure mass of solid, and the x-axis set to measure (local part property) temperature, then the graph will display the following two traces:
A specific part property is one that belongs to a targeted part. When this option is chosen a target tool appears next to the property picker so that traces can be plotted against a specific part's property values.
For example, you may wish to graph the level of a burette against the pH in a beaker. To do this:
|
Graphing more advanced propertiesMost parts have a number of graphable properties. For example most pieces of glassware have the following graphable properties: Mass, Mass of solids, Temperature, Volume, Volume of gases and pH.
However it is possible to add more advanced properties to this list, namely properties of particular species within a vessel. These properties are not shown by default (as they are so many), and instead have to be made 'observable' on any particular vessel. For example the concentration of Cl-(aq) within a beaker.
Setting up and graphing 'observable species' propertyIn this example the volume of H2(g) in a beaker will be make an 'observable' property.
Vessels can have any number of 'observable' species properties. These properties can be added and removed using the '+' and '-' buttons.
If a species formula is entered incorrectly it will be shown as "invalid". Both state symbols and any charge (for ions) must be included for the species formula to be valid. Please note, values and symbols will not appear in superscript or subscript in the Formula box.
Any valid chemical species can be made observable, even if not currently in the vessel. If the species is not in the vessel any property of it will have the value '0'.
|